<?php
	session_start();
	if(!isset($_SESSION['user']))
	{
		header("Location: index.php");
	}
	include("script/php/player.php");
	$player = new Player(1);
?>
<html>
	<head>
		<title>V 0.0.1</title>
		<link rel="stylesheet" href="style/index.css" />
		<link rel="stylesheet" href="style/Items.css" />
		<link rel="stylesheet" href="style/Resource.css" />
	</head>
	
	<body>
		<div class="wrapper">
			<table>
				<tr>
					<td class="leftColumn">
						Menu<br />
						<a href="index.php">Buildings</a>
					</td>
					
					<td class="RightColumn">
						<div class="res"><?php $player->DrawResources() ?></div>
						Building some stuff!
						<div class="ItemWrapper">
							<div class="ItemThumb"></div>
							<div class="ItemTitle">Farm</div>
							<div class="ItemDiscription">The farm is for the food production</div>
							<div class="ItemBuild"></div>
						</div>
						
						<div class="ItemWrapper">
							<div class="ItemThumb"></div>
							<div class="ItemTitle">Woodcutter</div>
							<div class="ItemDiscription">The woodcutter is for producing logs</div>
							<div class="ItemBuild"></div>
						</div>
					</td>
				</tr>
			</table>
		</div>
	</body>
</html>